package com.example.metrolpolitano;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class MainActivity extends Activity {
	/**
	 * @see android.app.Activity#onCreate(Bundle)
	 */
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		// TODO Put your code here
		setContentView(R.layout.intro);
		new Handler().postDelayed(new  introhandler(), 2000L);
	}
	
	class introhandler implements Runnable {

		introhandler(){}

		@Override
		public void run() {
			// TODO Auto-generated method stub
			MainActivity.this.startActivity(new Intent(MainActivity.this.getApplication(), Idioma.class));
			MainActivity.this.finish();
		}

	
	}
	
}


